<div class="main clearfix">
    <div class="Tabs clearfix">
        <ul class="clearfix">
            <li><a href="<?php echo Url::createUrl("appSmsKuteNew/index");?>"><span>App Sms Kute</span></a></li>
            <li><a href="<?php echo Url::createUrl("smsKuteNew/index");?>" class="active"><span>Sms Kute</span></a></li>                        
        </ul>                
    </div>


    <div class="box clearfix bottom30">
        <p><strong class="s18">Sửa sms vào App</strong></p>
        <form action="" method="POST">
            <ul class="form4">
                <?php if(!empty($error)) { ?>
                <li class="clearfix">
                    <label><strong>&nbsp;</strong></label>
                    <div class="filltext" style="color: red;">
                        <?php echo $error;?>
                    </div>
                </li>
                <?php }?>
                
                <li class="clearfix">
                    <label><strong>Chọn App SMS kute</strong>:</label>
                    <div class="filltext">
                        <select style="width:203px;margin-right:14px" name="eventId">
                            <?php foreach($apps as $row){ ?>
                            <option value="<?php echo $row["id"];?>" <?php if(isset($data["eventId"]) && $data["eventId"]==$row["id"]) echo "selected";?> ><?php echo $row["title"];?></option>
                            <?php }?>
                        </select>
                    </div>
                </li>


                <li class="clearfix">
                    <label><strong>Tiêu đề SMS</strong>:</label>
                    <div class="filltext">
                        <input name="title" value="<?php if(isset($data["title"])) echo $data["title"];?>" style="width:203px;margin-right:31px;" type="text" />
                    </div>
                </li>
                <li class="clearfix">
                    <label><strong>Nội dung</strong>:</label>
                    <div class="filltext">
                        <textarea style="width:400px;height:150px" name="content"><?php if(isset($data["content"])) echo $data["content"];?></textarea>
                    </div>
                </li>
                <li class="clearfix">
                    <label><strong>SMS</strong>:</label>
                    <div class="filltext">
                        <select style="width:203px;margin-right:14px" name="price">
                            <option value="15000" <?php if(isset($data["price"]) && $data["price"]=="15000") echo "selected";?> >15.000</option>
                            <option value="10000" <?php if(isset($data["price"]) && $data["price"]=="10000") echo "selected";?> >10.000</option>
                            <option value="5000" <?php if(isset($data["price"]) && $data["price"]=="5000") echo "selected";?> >5.000</option>
                        </select>
                    </div>
                </li>

                <li class="clearfix"><label>&nbsp;</label>
                    <div class="filltext">
                        <input type="submit" value="Sửa" class="btn-bigblue"> 
                    </div>
                </li>

            </ul>
        </form>
    </div>
</div>